using MESBaseis.Domain.BaseEntities;

namespace MESBaseis.Domain.ZSHH
{
    /// <summary>
    /// 项目表
    /// </summary>
    public class Project : BaseModel
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; } = string.Empty;

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectNumber { get; set; } = string.Empty;

        /// <summary>
        /// 项目描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        public string Status { get; set; } = "进行中";

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

        // 导航属性
        public virtual ICollection<ProductionPlan> ProductionPlans { get; set; } = new List<ProductionPlan>();
    }
}